package com.maket.jbxx.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 产品与属性对象 cp_and_sx
 * 
 * @author ruoyi
 * @date 2024-07-11
 */
public class CpAndSx extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 属性编码*/
    private Long cpSxId;

    /** 产品编码 */
    @Excel(name = "产品编码", readConverterExp = "$column.readConverterExp()")
    private String cpCode;

    /** 属性编码 */
    @Excel(name = "属性编码", readConverterExp = "$column.readConverterExp()")
    private String sxCode;

    /** 属性值id */
    @Excel(name = "属性值id", readConverterExp = "$column.readConverterExp()")
    private Long sxZId;

    /** 属性值 */
    @Excel(name = "属性值id", readConverterExp = "$column.readConverterExp()")

    private String zSxValue;

    public void setCpSxId(Long cpSxId) 
    {
        this.cpSxId = cpSxId;
    }

    public Long getCpSxId() 
    {
        return cpSxId;
    }
    public void setCpCode(String cpCode) 
    {
        this.cpCode = cpCode;
    }

    public String getCpCode() 
    {
        return cpCode;
    }
    public void setSxCode(String sxCode) 
    {
        this.sxCode = sxCode;
    }

    public String getSxCode() 
    {
        return sxCode;
    }
    public void setSxZId(Long sxZId) 
    {
        this.sxZId = sxZId;
    }

    public Long getSxZId() 
    {
        return sxZId;
    }

    public String getzSxValue() {
        return zSxValue;
    }

    public void setzSxValue(String zSxValue) {
        this.zSxValue = zSxValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cpSxId", getCpSxId())
            .append("cpCode", getCpCode())
            .append("sxCode", getSxCode())
            .append("sxZId", getSxZId())
            .append("zSxValue", getzSxValue())
            .toString();
    }
}
